package com.maxlen.order.entity.to;

import com.maxlen.order.entity.OrderEntity;
import com.maxlen.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderCreateTO {
    // 订单
    private OrderEntity order;

    // 订单的每一个商品项
    private List<OrderItemEntity> orderItemEntityList;

    // 应付价格
    private BigDecimal payPrice;

    // 运费
    private BigDecimal fare;
}
